package com.stone.design.mode.filter;

/**
 * chain
 *
 * @author wenpan 2023/11/17 10:03 下午
 */
public interface FilterChain {

    /**
     * filter
     *
     * @param httpRequest request
     * @author wenpan 2023/11/17 10:03 下午
     */
    void doFilter(HttpRequest httpRequest);

    /**
     * 增加过滤器
     *
     * @param filter filter
     * @author wenpan 2023/11/17 10:03 下午
     */
    void addFilter(Filter filter);
}